effect give @e[type=#bdd:all_fw,distance=0..8,limit=1] instant_damage 1 0
effect give @e[type=#bdd:all_w,distance=0..8,limit=1] instant_health 1 0
advancement revoke @s only bdd:entity/any_hurt